﻿<Page
    x:Class="CalendarControl.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:CalendarControl"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:custom="using:CalendarControl.CustomControl"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <TextBox Grid.Row="0" Name="SelectedDateText" 
                 Width="1024" Margin="10" />
        <custom:Calendar Grid.Row="1" x:Name="MyCalendar"
                            Width="1024"
                            Height="768"
                            HorizontalAlignment="Center" 
                            VerticalAlignment="Center"
                            Margin="10" SelectionChange="Calendar_SelectionChange" />
    </Grid>
</Page>
